<template>
    <div class="task-percent">
        <div class="percent"></div>
        <div class="gold-percent">
            <div class="first">+{{first}}</div>
            <div class="second">+{{second}}</div>
            <div class="three">+{{three}}</div>
        </div>
    </div>
</template>

<script>
export default {
    props: ['first', 'second', 'three']
}
</script>

<style lang="scss" scoped>
    .task-percent {
        width: 316px;
        .percent {
            height: 24px;
            background-image: url('./img/percent.png');
            background-size: 100% 100%;
        }
        .gold-percent {
            height: 18px;
            position: relative;
            top: 0;
            left: 0;
            z-index: 1;
            font-size:12px;
            font-family:Roboto-Medium,Roboto;
            font-weight:500;
            color:rgba(28,32,44,1);
            opacity: .4;
            .first {
                position: absolute;
                top: 4px;
                left: 90px;
                z-index: 1;
                width: 40px;
                text-align: center;
            }
            .second {
                position: absolute;
                top: 4px;
                left: 188px;
                z-index: 1;
                width: 40px;
                text-align: center;
            }
            .three {
                position: absolute;
                top: 4px;
                left: 280px;
                z-index: 1;
                width: 40px;
                text-align: center;
            }
        }
    }
</style>
